<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/tools/ShareApi.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_1563a38af0d3a5e4a6330d6d45e9792a.html">tools</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">ShareApi.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_share_api_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __SHAREAPI_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __SHAREAPI_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="tools_8h.html">tools.h</a>&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160; </div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="namespace_share_api.html">    7</a></span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_share_api.html">ShareApi</a></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;{</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">    /*****************************文件操作************************************/</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> <a class="code" href="namespace_share_api.html#a8d8eb33de0a336b6c099d4196e75fbc6">OpenFile</a>(<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* szFileName, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> iMode);</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    </div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#a29fcdef9c215ce0009e28dd52ba2c853">CloseFile</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile);</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160; </div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a52ea018b9be6f951d2bdce36cc0eae15">SetFilePointerEx</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile, <a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> dwOffset, <span class="keywordtype">int</span> iWhence);</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a35bc338ea514bb9d9f3de57730db5d60">SetFilePointer</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile, <span class="keywordtype">int</span> dwOffset, <span class="keywordtype">int</span> iWhence);</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> <a class="code" href="namespace_share_api.html#a12d3c7f822d56a7161601bfde8cd2791">GetFilePointerEx</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile);</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">int</span>   <a class="code" href="namespace_share_api.html#acd17304851a877042934e8967d7ac27e">GetFilePointer</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile);</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ae44d8d5d0e473c82cf8f2021a86cb6a4">fsize_t</a> <a class="code" href="namespace_share_api.html#a4b481d0807997fab0917801a3203aad7">ReadFile</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile, <span class="keywordtype">void</span> *buf, <a class="code" href="tools_8h.html#ae44d8d5d0e473c82cf8f2021a86cb6a4">fsize_t</a> size);</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ae44d8d5d0e473c82cf8f2021a86cb6a4">fsize_t</a> <a class="code" href="namespace_share_api.html#ad1a8ec9389fc2b1cbf9b7a2a10a054bd">WriteFile</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile, <span class="keyword">const</span> <span class="keywordtype">void</span> *buf, <a class="code" href="tools_8h.html#ae44d8d5d0e473c82cf8f2021a86cb6a4">fsize_t</a> size);</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160; </div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> <a class="code" href="namespace_share_api.html#a5853aba96a6eaed3b9dd1a66805f6070">GetFileSizeEx</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile);</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160; </div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">int</span> <a class="code" href="namespace_share_api.html#a8723a4c07d1482980a46b2f650bd2e5e">GetFileSize</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile);</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> <a class="code" href="namespace_share_api.html#a714ae756abbd2497307c649f6e9259c2">FindFirstFile</a>(<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a> *szDir, <a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html">PFILEFINDINFO</a> pInfo);</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160; </div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#ac4bb4bd0533fccd041039f9c51f1242d">FindNextFile</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile, <a class="code" href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html">PFILEFINDINFO</a> pInfo);</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#a753dde889b11d29612c759d13ee359b3">FindClose</a>(<a class="code" href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a> hFile);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#ae93328641ac50ed7196d704ff24b3dc2">PathAppend</a>(<a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a> *srcdir, <span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a> *subdir);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a33259cc2e33070f75643c9836fa6befa">IsDirent</a>(<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a> *szDir);</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#af5477174100c9b0c5fa9b8a1787c09af">FilePathExists</a>(<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a> *szFileName);</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a4e74675c3ae4e3233eeeb2088057aca8">GetCurrentDirectory</a>(<a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> size, <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a> *szPath);</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160; </div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a2a12b9ef4412b9abb4848f65ffa2850e">CreateDirectory</a>(<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* szPathName);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">    /*****************************文件操作************************************/</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">    /*******************************error(begin)**********************************/</span></div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> <a class="code" href="namespace_share_api.html#af058258537f5205e21395182fcc04208">GetLastError</a>();</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* <a class="code" href="namespace_share_api.html#a58553d013a36ffb0eb150b0eec157c63">Global_GetLastError</a>(<a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a>* pError = NULL);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;    </div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#a79243d634ddf21dd7486ceb02e80e360">Global_FreeMem</a>(<a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* sInfo);</div>
<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment">    /*******************************error(end)  **********************************/</span></div>
<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160; </div>
<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">    /*****************************字符串处理(start)*******************************/</span></div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a62f4cba03d9da2cb150f2a6ccda04061">AS_CPY_WS</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="tools_8h.html#aad61bc3eae1804d8784adebdce0721d3">WCHAR</a> *des, <span class="keyword">const</span> <span class="keywordtype">char</span> *src);</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#aafc83846014294f90fd16a5649dfd550">GbkToUnicode</a>(<a class="code" href="tools_8h.html#aad61bc3eae1804d8784adebdce0721d3">WCHAR</a>* des, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <span class="keywordtype">char</span>* src, <span class="keywordtype">size_t</span> srcLen = 0);</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a35355024be699fab00fff43941b41914">WS_CPY_AS</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">char</span> *des, <span class="keyword">const</span> <a class="code" href="tools_8h.html#aad61bc3eae1804d8784adebdce0721d3">WCHAR</a> *src);</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#a1feb20a6d3425c35c0022f486d106759">UnicodeToGbk</a>(<span class="keywordtype">char</span>* des, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="tools_8h.html#aad61bc3eae1804d8784adebdce0721d3">WCHAR</a>* src, <span class="keywordtype">size_t</span> srcLen = 0);</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#aa728fde57f4dbb2293a3c924cf0a379d">AS_CPY_UTF8</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">char</span> *des, <span class="keyword">const</span> <span class="keywordtype">char</span> *src);</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#a9d058caff66f8dd3726492a2ef6fc15f">GbkToUtf8</a>(<span class="keywordtype">char</span>* des, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <span class="keywordtype">char</span>* src, <span class="keywordtype">size_t</span> srcLen = 0);</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a431b116518daffebc87c866b65aacfa2">WS_CPY_UTF8</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">char</span> *des, <span class="keyword">const</span> <a class="code" href="tools_8h.html#aad61bc3eae1804d8784adebdce0721d3">WCHAR</a> *src);</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#ae6dfe98d6e51d6c8a3a612de99f840b2">UnicodeToUtf8</a>(<span class="keywordtype">char</span>* des, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <a class="code" href="tools_8h.html#aad61bc3eae1804d8784adebdce0721d3">WCHAR</a>* src, <span class="keywordtype">size_t</span> srcLen = 0);</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#aaf65e2886782dff810bc58f68d3ceab4">UTF8_CPY_WS</a>(<span class="keywordtype">size_t</span> size, <a class="code" href="tools_8h.html#aad61bc3eae1804d8784adebdce0721d3">WCHAR</a> *des, <span class="keyword">const</span> <span class="keywordtype">char</span> *src);</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#a1ed844c1fb6e16ef713828402c8200a2">Utf8ToUnicode</a>(<a class="code" href="tools_8h.html#aad61bc3eae1804d8784adebdce0721d3">WCHAR</a>* des, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <span class="keywordtype">char</span>* src, <span class="keywordtype">size_t</span> srcLen = 0);</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160; </div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a4d8aa14a00b0d34d476dece859c6203b">UTF8_CPY_AS</a>(<span class="keywordtype">size_t</span> size, <span class="keywordtype">char</span> *des, <span class="keyword">const</span> <span class="keywordtype">char</span>* src);</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#adda5f5c83e04637a92905f9f4164f075">Utf8ToGbk</a>(<span class="keywordtype">char</span>* des, <span class="keywordtype">size_t</span> size, <span class="keyword">const</span> <span class="keywordtype">char</span>* src, <span class="keywordtype">size_t</span> srcLen = 0);</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#a042cb4f7a8ef64c76911a3c95caf3bb1">lltoa</a>(<a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> value, <span class="keywordtype">char</span> *szValue, <span class="keywordtype">size_t</span> size);</div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#ab284a7efaf7111e839b66df283157fea">ultoa</a>(<a class="code" href="tools_8h.html#a57be03562867144161c1bfee95ca8f7c">UINT64</a> value, <span class="keywordtype">char</span> *szValue, <span class="keywordtype">size_t</span> size);</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#a95bbd5d2f49d29511d8a53e60339ff08">ltoa</a>(<a class="code" href="tools_8h.html#acbf03b87f07f587a6e72384c9141182a">long_t</a> value, <span class="keywordtype">char</span> *szValue, <span class="keywordtype">size_t</span> size);</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#afe403ffbb6f46bfd43aa404c5b462e7f">itoa</a>(<span class="keywordtype">int</span> value, <span class="keywordtype">char</span> *szValue, <span class="keywordtype">size_t</span> size);</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#ac170c14f06c9eaa6710df7726e475908">ftoa</a>(<span class="keywordtype">float</span> value, <span class="keywordtype">char</span> *szValue, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> dotcount = 6);</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#aceaa3079fafcc01a4e994851d7b19b18">lftoa</a>(<span class="keywordtype">double</span> value, <span class="keywordtype">char</span> *szValue, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> dotcount = 6);</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#aad0f12d8a89ce1a3ac07b25be7d4dca8">llftoa</a>(<span class="keywordtype">long</span> <span class="keywordtype">double</span> value, <span class="keywordtype">char</span> *szValue, <span class="keywordtype">size_t</span> size, <span class="keywordtype">size_t</span> dotcount = 6);</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">size_t</span> <a class="code" href="namespace_share_api.html#a42cc4f5c3ce6a37fa32f97be13c5d300">strnicmp</a>(<span class="keyword">const</span> <span class="keywordtype">char</span>* str1, <span class="keyword">const</span> <span class="keywordtype">char</span>* str2, <span class="keywordtype">size_t</span> count);</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="comment">    /*****************************字符串处理(end)*******************************/</span></div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160; </div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="comment">    /********************** 线程相关(start) ***********************/</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ad5d1d4448f0dd70f644916217fa0f5d6">THREADPTR</a> <a class="code" href="namespace_share_api.html#ad16c6f67ce210b5dd91e57bbf743f0d7">BeginThread</a>(<a class="code" href="tools_8h.html#a8c4b94ef011acbcc6359107d2efb3d25">ThreadRoutine</a> pFunc, <span class="keywordtype">void</span>* arg, <a class="code" href="tools_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> stack_size = 0, <a class="code" href="tools_8h.html#af632da489ebc3708ec3ab6791ee53fa4">ULONG</a>* pThreadId = NULL);</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160; </div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#ac7a2d28aa9970323f90bf16ad0e039ac">Thread_Join</a>(<a class="code" href="tools_8h.html#ad5d1d4448f0dd70f644916217fa0f5d6">THREADPTR</a> thHandle);</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160; </div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#a7a89280226b06d9a20b2b37316742d60">CloseThread</a>(<a class="code" href="tools_8h.html#ad5d1d4448f0dd70f644916217fa0f5d6">THREADPTR</a> thHandle);</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160; </div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> <a class="code" href="namespace_share_api.html#a1a12fe17284d65b76175e2ea80279f9e">CreateMutex</a>();</div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;    </div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#a87b8d6d01e677432b988eef8ce62c3fb">MutexLock</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hMutex);</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;    </div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#ae5ba1f54275e01ae695344690c8e5f40">MutexUnlock</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hMutex);</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;    </div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#a8f77f0ed93c1add64d17085612759c2e">CloseMutex</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hMutex);</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> <a class="code" href="namespace_share_api.html#a7b6335c0eefe4ed1f01963638bc708b8">CreateEvent</a>(<a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> bEvent = <a class="code" href="tools_8h.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a>, <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> bAuto = <a class="code" href="tools_8h.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a>);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160; </div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#aef9c08d248e17a517235723ef2db9663">SetEvent</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hEvent, <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> bEvent);</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160; </div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> <a class="code" href="namespace_share_api.html#a13ed8016535f6825c83eedef069ebe41">WaitForSingleEvent</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hEvent, <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> dwWaitOut);</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160; </div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> <a class="code" href="namespace_share_api.html#a13aef8d6aaac3071ccedf693c7d03f27">WaitForMultipleEvents</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> *hEvents, <span class="keywordtype">int</span> nEventCount, <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> bWaitAll, <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> dwWaitOut);</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;    </div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#a7ee205cb7095e6d00b9631fa1857a6c3">CloseEvent</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hEvent);</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160; </div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> <a class="code" href="namespace_share_api.html#a6a96c0bb1d6b9ad1fdb25a055e7ed85c">CreateCondVariable</a>();</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a33be1b774a30a60e8f134e9a54e754f0">NotifyCondVariable</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hCond);</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;    </div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#ae618bc7d8ba275d84cb5b7b984d41613">NotifyAllCondVariable</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hCond);</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160; </div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> <a class="code" href="namespace_share_api.html#ab91c15d44323d61c48b1afd434da6a33">WaitConditionVariable</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hCond, <a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hMutex, <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> dwWaitOut);</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160; </div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#a34a96620589e6276f6a506d0180af6d8">CloseConditionVariable</a>(<a class="code" href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a> hCond);</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> <a class="code" href="namespace_share_api.html#a3d320458a805a39a1abc145d7aa28fb6">InterlockedIncrement64</a>(<a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> *Addend);</div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">long</span> <a class="code" href="namespace_share_api.html#aae939585936b972d0fba0a064278f6dd">InterlockedIncrement</a>(<span class="keywordtype">long</span> *Addend);</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">int</span> <a class="code" href="namespace_share_api.html#aae939585936b972d0fba0a064278f6dd">InterlockedIncrement</a>(<span class="keywordtype">int</span> *Addend);</div>
<div class="line"><a name="l00386"></a><span class="lineno">  386</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> <a class="code" href="namespace_share_api.html#a647b7c405fa0d8d21c4d1da509fc58ec">InterlockedDecrement64</a>(<a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> *Addend);</div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">long</span> <a class="code" href="namespace_share_api.html#a1cf67c0b1b748d5d51ec8dbd0f7aaae4">InterlockedDecrement</a>(<span class="keywordtype">long</span> *Addend);</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">int</span> <a class="code" href="namespace_share_api.html#a1cf67c0b1b748d5d51ec8dbd0f7aaae4">InterlockedDecrement</a>(<span class="keywordtype">int</span> *Addend);</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">long</span> <a class="code" href="namespace_share_api.html#a83771e6812aba75449e79e18b9220041">InterlockedExchangeAdd</a>(<span class="keywordtype">long</span> *Addend, <span class="keywordtype">long</span> Value);</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">int</span> <a class="code" href="namespace_share_api.html#a83771e6812aba75449e79e18b9220041">InterlockedExchangeAdd</a>(<span class="keywordtype">int</span> *Addend, <span class="keywordtype">int</span> Value);</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> <a class="code" href="namespace_share_api.html#a510d88717f432bba3b53a87989044492">InterlockedExchangeAdd64</a>(<a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> *Addend, <a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> Value);</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> <a class="code" href="namespace_share_api.html#a949e52140a840041bc8d2353327f576a">InterlockedExchange64</a>(<a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> *Addend, <a class="code" href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a> value);</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">long</span> <a class="code" href="namespace_share_api.html#aa020decf062bbd8dc399dd69c67a1d5b">InterlockedExchange</a>(<span class="keywordtype">long</span> *Addend, <span class="keywordtype">long</span> value);</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">int</span> <a class="code" href="namespace_share_api.html#aa020decf062bbd8dc399dd69c67a1d5b">InterlockedExchange</a>(<span class="keywordtype">int</span> *Addend, <span class="keywordtype">int</span> value);</div>
<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#af632da489ebc3708ec3ab6791ee53fa4">ULONG</a> <a class="code" href="namespace_share_api.html#aa247d107f7e439e2c6871dfba195a022">GetCurrentThreadId</a>();</div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160; </div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#af632da489ebc3708ec3ab6791ee53fa4">ULONG</a> <a class="code" href="namespace_share_api.html#a5f2e8e67d4a3a8d061bd8f109762a48d">GetCurrentProcessId</a>();</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;<span class="comment">    /********************** 线程相关(end) ***********************/</span></div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160; </div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#a169d4ee242a5f842c91da9be8a179e18">Sleep</a>(<a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> dwSleep);</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160; </div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a> <a class="code" href="namespace_share_api.html#a0a37d9b5c4fe9f8f5611369885097b67">GetTickCount</a>();</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a> <a class="code" href="namespace_share_api.html#a608cadd04e1c250b35997658e0390cc7">GetTickCount64</a>();</div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#aa3a32d171616bf6ce986acb93ce88d30">QueryPerformanceFrequency</a>(<a class="code" href="union___l_a_r_g_e___i_n_t_e_g_e_r.html">LARGE_INTEGER</a> *lpFrequency);</div>
<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160; </div>
<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#a52ea835c01d56aaf225ab37baacf7dd6">QueryPerformanceCounter</a>(<a class="code" href="union___l_a_r_g_e___i_n_t_e_g_e_r.html">LARGE_INTEGER</a> *lpPerformanceCount);</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160; </div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#a6fd951b223aa9382df1d9820bb04072e">PrintDumpInfo</a>(<span class="keywordtype">bool</span> bPrintConsole = <span class="keyword">false</span>);</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;    </div>
<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a> <a class="code" href="namespace_share_api.html#afc7a41f951383d91baa664bae54c03a3">StartProcess</a>(<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* exename, <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>** argv = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>, <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>** evp = <a class="code" href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a>);</div>
<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160; </div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="tools_8h.html#ab521aa5010fb1afb801a899a55569e03">HANDLE</a> <a class="code" href="namespace_share_api.html#a4b416e5e159ac50d2c18a1f77a0ea734">LoadDll</a>(<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* dllName);</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160; </div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span>* <a class="code" href="namespace_share_api.html#a65d31568eb4e185474be493a8a9ec749">LoadSymbol</a>(<a class="code" href="tools_8h.html#ab521aa5010fb1afb801a899a55569e03">HANDLE</a> dlHandle, <span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* symbol);</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160; </div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;    <a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <span class="keywordtype">void</span> <a class="code" href="namespace_share_api.html#ac677a9c487af4ea8e2a3c14c4a5593e6">CloseDll</a>(<a class="code" href="tools_8h.html#ab521aa5010fb1afb801a899a55569e03">HANDLE</a> dlHandle);</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;    </div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;}</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160; </div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160; </div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="anamespace_share_api_html_ab91c15d44323d61c48b1afd434da6a33"><div class="ttname"><a href="namespace_share_api.html#ab91c15d44323d61c48b1afd434da6a33">ShareApi::WaitConditionVariable</a></div><div class="ttdeci">LIBTOOLS DWORD WaitConditionVariable(SYNCHANDLE hCond, SYNCHANDLE hMutex, DWORD dwWaitOut)</div><div class="ttdoc">等待条件变量</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01606">ShareApi.cpp:1606</a></div></div>
<div class="ttc" id="anamespace_share_api_html_aa3a32d171616bf6ce986acb93ce88d30"><div class="ttname"><a href="namespace_share_api.html#aa3a32d171616bf6ce986acb93ce88d30">ShareApi::QueryPerformanceFrequency</a></div><div class="ttdeci">LIBTOOLS BOOL QueryPerformanceFrequency(LARGE_INTEGER *lpFrequency)</div><div class="ttdoc">获取cup时间频率函数(linux下该函数无效)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01850">ShareApi.cpp:1850</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a1a12fe17284d65b76175e2ea80279f9e"><div class="ttname"><a href="namespace_share_api.html#a1a12fe17284d65b76175e2ea80279f9e">ShareApi::CreateMutex</a></div><div class="ttdeci">LIBTOOLS SYNCHANDLE CreateMutex()</div><div class="ttdoc">创建锁</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01210">ShareApi.cpp:1210</a></div></div>
<div class="ttc" id="anamespace_share_api_html_aae939585936b972d0fba0a064278f6dd"><div class="ttname"><a href="namespace_share_api.html#aae939585936b972d0fba0a064278f6dd">ShareApi::InterlockedIncrement</a></div><div class="ttdeci">LIBTOOLS long InterlockedIncrement(long *Addend)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01786">ShareApi.cpp:1786</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a29fcdef9c215ce0009e28dd52ba2c853"><div class="ttname"><a href="namespace_share_api.html#a29fcdef9c215ce0009e28dd52ba2c853">ShareApi::CloseFile</a></div><div class="ttdeci">LIBTOOLS void CloseFile(FILE_HANDLE hFile)</div><div class="ttdoc">关闭一个文件句柄</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00227">ShareApi.cpp:227</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a13aef8d6aaac3071ccedf693c7d03f27"><div class="ttname"><a href="namespace_share_api.html#a13aef8d6aaac3071ccedf693c7d03f27">ShareApi::WaitForMultipleEvents</a></div><div class="ttdeci">LIBTOOLS DWORD WaitForMultipleEvents(SYNCHANDLE *hEvents, int nEventCount, BOOL bWaitAll, DWORD dwWaitOut)</div><div class="ttdoc">等待多个事件对象有信号</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01439">ShareApi.cpp:1439</a></div></div>
<div class="ttc" id="atools_8h_html_a65c91f8d7af3c67b8a21e089fdddd0fe"><div class="ttname"><a href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a></div><div class="ttdeci">#define TCHAR</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00187">tools.h:187</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a608cadd04e1c250b35997658e0390cc7"><div class="ttname"><a href="namespace_share_api.html#a608cadd04e1c250b35997658e0390cc7">ShareApi::GetTickCount64</a></div><div class="ttdeci">LIBTOOLS DWORD64 GetTickCount64()</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01828">ShareApi.cpp:1828</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ae618bc7d8ba275d84cb5b7b984d41613"><div class="ttname"><a href="namespace_share_api.html#ae618bc7d8ba275d84cb5b7b984d41613">ShareApi::NotifyAllCondVariable</a></div><div class="ttdeci">LIBTOOLS BOOL NotifyAllCondVariable(SYNCHANDLE hCond)</div><div class="ttdoc">唤醒所有线程上的等待的条件变量</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01651">ShareApi.cpp:1651</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a1ed844c1fb6e16ef713828402c8200a2"><div class="ttname"><a href="namespace_share_api.html#a1ed844c1fb6e16ef713828402c8200a2">ShareApi::Utf8ToUnicode</a></div><div class="ttdeci">LIBTOOLS size_t Utf8ToUnicode(WCHAR *des, size_t size, const char *src, size_t srcLen=0)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00693">ShareApi.cpp:693</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a647b7c405fa0d8d21c4d1da509fc58ec"><div class="ttname"><a href="namespace_share_api.html#a647b7c405fa0d8d21c4d1da509fc58ec">ShareApi::InterlockedDecrement64</a></div><div class="ttdeci">LIBTOOLS INT64 InterlockedDecrement64(INT64 *Addend)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01796">ShareApi.cpp:1796</a></div></div>
<div class="ttc" id="anamespace_share_api_html_afe403ffbb6f46bfd43aa404c5b462e7f"><div class="ttname"><a href="namespace_share_api.html#afe403ffbb6f46bfd43aa404c5b462e7f">ShareApi::itoa</a></div><div class="ttdeci">LIBTOOLS size_t itoa(int value, char *szValue, size_t size)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00845">ShareApi.cpp:845</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a510d88717f432bba3b53a87989044492"><div class="ttname"><a href="namespace_share_api.html#a510d88717f432bba3b53a87989044492">ShareApi::InterlockedExchangeAdd64</a></div><div class="ttdeci">LIBTOOLS INT64 InterlockedExchangeAdd64(INT64 *Addend, INT64 Value)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01745">ShareApi.cpp:1745</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ac4bb4bd0533fccd041039f9c51f1242d"><div class="ttname"><a href="namespace_share_api.html#ac4bb4bd0533fccd041039f9c51f1242d">ShareApi::FindNextFile</a></div><div class="ttdeci">LIBTOOLS BOOL FindNextFile(FILE_HANDLE hFile, PFILEFINDINFO pInfo)</div><div class="ttdoc">继续遍历目录</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00374">ShareApi.cpp:374</a></div></div>
<div class="ttc" id="atools_8h_html_aa8cecfc5c5c054d2875c03e77b7be15d"><div class="ttname"><a href="tools_8h.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a></div><div class="ttdeci">#define TRUE</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00147">tools.h:147</a></div></div>
<div class="ttc" id="atools_8h_html_adbfeae90dcbc6d1e23fc52bb64339f46"><div class="ttname"><a href="tools_8h.html#adbfeae90dcbc6d1e23fc52bb64339f46">DWORD64</a></div><div class="ttdeci">unsigned long long DWORD64</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00135">tools.h:135</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a7b6335c0eefe4ed1f01963638bc708b8"><div class="ttname"><a href="namespace_share_api.html#a7b6335c0eefe4ed1f01963638bc708b8">ShareApi::CreateEvent</a></div><div class="ttdeci">LIBTOOLS SYNCHANDLE CreateEvent(BOOL bEvent=FALSE, BOOL bAuto=TRUE)</div><div class="ttdoc">创建事件</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01257">ShareApi.cpp:1257</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a65d31568eb4e185474be493a8a9ec749"><div class="ttname"><a href="namespace_share_api.html#a65d31568eb4e185474be493a8a9ec749">ShareApi::LoadSymbol</a></div><div class="ttdeci">LIBTOOLS void * LoadSymbol(HANDLE dlHandle, const TCHAR *symbol)</div><div class="ttdoc">载入动态库中的导出符号</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l02162">ShareApi.cpp:2162</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a5f2e8e67d4a3a8d061bd8f109762a48d"><div class="ttname"><a href="namespace_share_api.html#a5f2e8e67d4a3a8d061bd8f109762a48d">ShareApi::GetCurrentProcessId</a></div><div class="ttdeci">LIBTOOLS ULONG GetCurrentProcessId()</div><div class="ttdoc">获取当前进程的ID</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01172">ShareApi.cpp:1172</a></div></div>
<div class="ttc" id="anamespace_share_api_html_af058258537f5205e21395182fcc04208"><div class="ttname"><a href="namespace_share_api.html#af058258537f5205e21395182fcc04208">ShareApi::GetLastError</a></div><div class="ttdeci">LIBTOOLS DWORD GetLastError()</div><div class="ttdoc">返回上一次函数的错误值</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00049">ShareApi.cpp:49</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ae6dfe98d6e51d6c8a3a612de99f840b2"><div class="ttname"><a href="namespace_share_api.html#ae6dfe98d6e51d6c8a3a612de99f840b2">ShareApi::UnicodeToUtf8</a></div><div class="ttdeci">LIBTOOLS size_t UnicodeToUtf8(char *des, size_t size, const WCHAR *src, size_t srcLen=0)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00784">ShareApi.cpp:784</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a7ee205cb7095e6d00b9631fa1857a6c3"><div class="ttname"><a href="namespace_share_api.html#a7ee205cb7095e6d00b9631fa1857a6c3">ShareApi::CloseEvent</a></div><div class="ttdeci">LIBTOOLS void CloseEvent(SYNCHANDLE hEvent)</div><div class="ttdoc">销毁事件句柄</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01558">ShareApi.cpp:1558</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a33259cc2e33070f75643c9836fa6befa"><div class="ttname"><a href="namespace_share_api.html#a33259cc2e33070f75643c9836fa6befa">ShareApi::IsDirent</a></div><div class="ttdeci">LIBTOOLS BOOL IsDirent(const TCHAR *szDir)</div><div class="ttdoc">检查目录是否存在</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00460">ShareApi.cpp:460</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a9d058caff66f8dd3726492a2ef6fc15f"><div class="ttname"><a href="namespace_share_api.html#a9d058caff66f8dd3726492a2ef6fc15f">ShareApi::GbkToUtf8</a></div><div class="ttdeci">LIBTOOLS size_t GbkToUtf8(char *des, size_t size, const char *src, size_t srcLen=0)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00558">ShareApi.cpp:558</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a62f4cba03d9da2cb150f2a6ccda04061"><div class="ttname"><a href="namespace_share_api.html#a62f4cba03d9da2cb150f2a6ccda04061">ShareApi::AS_CPY_WS</a></div><div class="ttdeci">LIBTOOLS BOOL AS_CPY_WS(size_t size, WCHAR *des, const char *src)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00633">ShareApi.cpp:633</a></div></div>
<div class="ttc" id="atools_8h_html_aad61bc3eae1804d8784adebdce0721d3"><div class="ttname"><a href="tools_8h.html#aad61bc3eae1804d8784adebdce0721d3">WCHAR</a></div><div class="ttdeci">wchar_t WCHAR</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00131">tools.h:131</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a431b116518daffebc87c866b65aacfa2"><div class="ttname"><a href="namespace_share_api.html#a431b116518daffebc87c866b65aacfa2">ShareApi::WS_CPY_UTF8</a></div><div class="ttdeci">LIBTOOLS BOOL WS_CPY_UTF8(size_t size, char *des, const WCHAR *src)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00777">ShareApi.cpp:777</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ac677a9c487af4ea8e2a3c14c4a5593e6"><div class="ttname"><a href="namespace_share_api.html#ac677a9c487af4ea8e2a3c14c4a5593e6">ShareApi::CloseDll</a></div><div class="ttdeci">LIBTOOLS void CloseDll(HANDLE dlHandle)</div><div class="ttdoc">关闭打开的动态库句柄</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l02178">ShareApi.cpp:2178</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a7a89280226b06d9a20b2b37316742d60"><div class="ttname"><a href="namespace_share_api.html#a7a89280226b06d9a20b2b37316742d60">ShareApi::CloseThread</a></div><div class="ttdeci">LIBTOOLS void CloseThread(THREADPTR thHandle)</div><div class="ttdoc">关闭线程对象句柄</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01181">ShareApi.cpp:1181</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a4b481d0807997fab0917801a3203aad7"><div class="ttname"><a href="namespace_share_api.html#a4b481d0807997fab0917801a3203aad7">ShareApi::ReadFile</a></div><div class="ttdeci">LIBTOOLS fsize_t ReadFile(FILE_HANDLE hFile, void *buf, fsize_t size)</div><div class="ttdoc">读取文件数据</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00236">ShareApi.cpp:236</a></div></div>
<div class="ttc" id="atools_8h_html_a64152c8b939d1ce06c7c5cb6c97b62f8"><div class="ttname"><a href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a></div><div class="ttdeci">#define LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00095">tools.h:95</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a42cc4f5c3ce6a37fa32f97be13c5d300"><div class="ttname"><a href="namespace_share_api.html#a42cc4f5c3ce6a37fa32f97be13c5d300">ShareApi::strnicmp</a></div><div class="ttdeci">LIBTOOLS size_t strnicmp(const char *str1, const char *str2, size_t count)</div><div class="ttdoc">忽略大小写比较两个字符串,最多比较count个字符</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01029">ShareApi.cpp:1029</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a8f77f0ed93c1add64d17085612759c2e"><div class="ttname"><a href="namespace_share_api.html#a8f77f0ed93c1add64d17085612759c2e">ShareApi::CloseMutex</a></div><div class="ttdeci">LIBTOOLS void CloseMutex(SYNCHANDLE hMutex)</div><div class="ttdoc">销毁锁</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01247">ShareApi.cpp:1247</a></div></div>
<div class="ttc" id="anamespace_share_api_html_aa728fde57f4dbb2293a3c924cf0a379d"><div class="ttname"><a href="namespace_share_api.html#aa728fde57f4dbb2293a3c924cf0a379d">ShareApi::AS_CPY_UTF8</a></div><div class="ttdeci">LIBTOOLS BOOL AS_CPY_UTF8(size_t size, char *des, const char *src)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00551">ShareApi.cpp:551</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a4d8aa14a00b0d34d476dece859c6203b"><div class="ttname"><a href="namespace_share_api.html#a4d8aa14a00b0d34d476dece859c6203b">ShareApi::UTF8_CPY_AS</a></div><div class="ttdeci">LIBTOOLS BOOL UTF8_CPY_AS(size_t size, char *des, const char *src)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00592">ShareApi.cpp:592</a></div></div>
<div class="ttc" id="anamespace_share_api_html_aafc83846014294f90fd16a5649dfd550"><div class="ttname"><a href="namespace_share_api.html#aafc83846014294f90fd16a5649dfd550">ShareApi::GbkToUnicode</a></div><div class="ttdeci">LIBTOOLS size_t GbkToUnicode(WCHAR *des, size_t size, const char *src, size_t srcLen=0)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00640">ShareApi.cpp:640</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a6fd951b223aa9382df1d9820bb04072e"><div class="ttname"><a href="namespace_share_api.html#a6fd951b223aa9382df1d9820bb04072e">ShareApi::PrintDumpInfo</a></div><div class="ttdeci">LIBTOOLS void PrintDumpInfo(bool bPrintConsole=false)</div><div class="ttdoc">打印异常后函数调用堆栈信息</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l02055">ShareApi.cpp:2055</a></div></div>
<div class="ttc" id="atools_8h_html_ad5d1d4448f0dd70f644916217fa0f5d6"><div class="ttname"><a href="tools_8h.html#ad5d1d4448f0dd70f644916217fa0f5d6">THREADPTR</a></div><div class="ttdeci">#define THREADPTR</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00327">tools.h:327</a></div></div>
<div class="ttc" id="anamespace_share_api_html_aa247d107f7e439e2c6871dfba195a022"><div class="ttname"><a href="namespace_share_api.html#aa247d107f7e439e2c6871dfba195a022">ShareApi::GetCurrentThreadId</a></div><div class="ttdeci">LIBTOOLS ULONG GetCurrentThreadId()</div><div class="ttdoc">获取当前线程ID</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01163">ShareApi.cpp:1163</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a95bbd5d2f49d29511d8a53e60339ff08"><div class="ttname"><a href="namespace_share_api.html#a95bbd5d2f49d29511d8a53e60339ff08">ShareApi::ltoa</a></div><div class="ttdeci">LIBTOOLS size_t ltoa(long_t value, char *szValue, size_t size)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00832">ShareApi.cpp:832</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ac7a2d28aa9970323f90bf16ad0e039ac"><div class="ttname"><a href="namespace_share_api.html#ac7a2d28aa9970323f90bf16ad0e039ac">ShareApi::Thread_Join</a></div><div class="ttdeci">LIBTOOLS BOOL Thread_Join(THREADPTR thHandle)</div><div class="ttdoc">等待线程结束</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01190">ShareApi.cpp:1190</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a042cb4f7a8ef64c76911a3c95caf3bb1"><div class="ttname"><a href="namespace_share_api.html#a042cb4f7a8ef64c76911a3c95caf3bb1">ShareApi::lltoa</a></div><div class="ttdeci">LIBTOOLS size_t lltoa(INT64 value, char *szValue, size_t size)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00814">ShareApi.cpp:814</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a1cf67c0b1b748d5d51ec8dbd0f7aaae4"><div class="ttname"><a href="namespace_share_api.html#a1cf67c0b1b748d5d51ec8dbd0f7aaae4">ShareApi::InterlockedDecrement</a></div><div class="ttdeci">LIBTOOLS long InterlockedDecrement(long *Addend)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01801">ShareApi.cpp:1801</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a8723a4c07d1482980a46b2f650bd2e5e"><div class="ttname"><a href="namespace_share_api.html#a8723a4c07d1482980a46b2f650bd2e5e">ShareApi::GetFileSize</a></div><div class="ttdeci">LIBTOOLS int GetFileSize(FILE_HANDLE hFile)</div><div class="ttdoc">参考GetFileSizeEx的说明</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00159">ShareApi.cpp:159</a></div></div>
<div class="ttc" id="atools_8h_html_af632da489ebc3708ec3ab6791ee53fa4"><div class="ttname"><a href="tools_8h.html#af632da489ebc3708ec3ab6791ee53fa4">ULONG</a></div><div class="ttdeci">unsigned long ULONG</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00136">tools.h:136</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a52ea018b9be6f951d2bdce36cc0eae15"><div class="ttname"><a href="namespace_share_api.html#a52ea018b9be6f951d2bdce36cc0eae15">ShareApi::SetFilePointerEx</a></div><div class="ttdeci">LIBTOOLS BOOL SetFilePointerEx(FILE_HANDLE hFile, INT64 dwOffset, int iWhence)</div><div class="ttdoc">定位文件指针</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00174">ShareApi.cpp:174</a></div></div>
<div class="ttc" id="anamespace_share_api_html"><div class="ttname"><a href="namespace_share_api.html">ShareApi</a></div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8h_source.html#l00007">ShareApi.h:7</a></div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="atools_8h_html_a8c4b94ef011acbcc6359107d2efb3d25"><div class="ttname"><a href="tools_8h.html#a8c4b94ef011acbcc6359107d2efb3d25">ThreadRoutine</a></div><div class="ttdeci">DWORD(* ThreadRoutine)(void *arg)</div><div class="ttdoc">线程函数指针</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00334">tools.h:334</a></div></div>
<div class="ttc" id="anamespace_share_api_html_adda5f5c83e04637a92905f9f4164f075"><div class="ttname"><a href="namespace_share_api.html#adda5f5c83e04637a92905f9f4164f075">ShareApi::Utf8ToGbk</a></div><div class="ttdeci">LIBTOOLS size_t Utf8ToGbk(char *des, size_t size, const char *src, size_t srcLen=0)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00599">ShareApi.cpp:599</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a4b416e5e159ac50d2c18a1f77a0ea734"><div class="ttname"><a href="namespace_share_api.html#a4b416e5e159ac50d2c18a1f77a0ea734">ShareApi::LoadDll</a></div><div class="ttdeci">LIBTOOLS HANDLE LoadDll(const TCHAR *dllName)</div><div class="ttdoc">动态载入dll/so库函数</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l02146">ShareApi.cpp:2146</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ab284a7efaf7111e839b66df283157fea"><div class="ttname"><a href="namespace_share_api.html#ab284a7efaf7111e839b66df283157fea">ShareApi::ultoa</a></div><div class="ttdeci">LIBTOOLS size_t ultoa(UINT64 value, char *szValue, size_t size)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00823">ShareApi.cpp:823</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a58553d013a36ffb0eb150b0eec157c63"><div class="ttname"><a href="namespace_share_api.html#a58553d013a36ffb0eb150b0eec157c63">ShareApi::Global_GetLastError</a></div><div class="ttdeci">LIBTOOLS TCHAR * Global_GetLastError(DWORD *pError=NULL)</div><div class="ttdoc">获取错误信息</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00508">ShareApi.cpp:508</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a714ae756abbd2497307c649f6e9259c2"><div class="ttname"><a href="namespace_share_api.html#a714ae756abbd2497307c649f6e9259c2">ShareApi::FindFirstFile</a></div><div class="ttdeci">LIBTOOLS FILE_HANDLE FindFirstFile(const TCHAR *szDir, PFILEFINDINFO pInfo)</div><div class="ttdoc">文件遍历，win32中不用主动加上*.</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00290">ShareApi.cpp:290</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a6a96c0bb1d6b9ad1fdb25a055e7ed85c"><div class="ttname"><a href="namespace_share_api.html#a6a96c0bb1d6b9ad1fdb25a055e7ed85c">ShareApi::CreateCondVariable</a></div><div class="ttdeci">LIBTOOLS SYNCHANDLE CreateCondVariable()</div><div class="ttdoc">创建条件变量</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01570">ShareApi.cpp:1570</a></div></div>
<div class="ttc" id="anamespace_share_api_html_acd17304851a877042934e8967d7ac27e"><div class="ttname"><a href="namespace_share_api.html#acd17304851a877042934e8967d7ac27e">ShareApi::GetFilePointer</a></div><div class="ttdeci">LIBTOOLS int GetFilePointer(FILE_HANDLE hFile)</div><div class="ttdoc">参考GetFilePointerEx的函数说明</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00214">ShareApi.cpp:214</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a33be1b774a30a60e8f134e9a54e754f0"><div class="ttname"><a href="namespace_share_api.html#a33be1b774a30a60e8f134e9a54e754f0">ShareApi::NotifyCondVariable</a></div><div class="ttdeci">LIBTOOLS BOOL NotifyCondVariable(SYNCHANDLE hCond)</div><div class="ttdoc">唤醒单个线程上的等待的条件变量</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01668">ShareApi.cpp:1668</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a1feb20a6d3425c35c0022f486d106759"><div class="ttname"><a href="namespace_share_api.html#a1feb20a6d3425c35c0022f486d106759">ShareApi::UnicodeToGbk</a></div><div class="ttdeci">LIBTOOLS size_t UnicodeToGbk(char *des, size_t size, const WCHAR *src, size_t srcLen=0)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00746">ShareApi.cpp:746</a></div></div>
<div class="ttc" id="atools_8h_html_ab521aa5010fb1afb801a899a55569e03"><div class="ttname"><a href="tools_8h.html#ab521aa5010fb1afb801a899a55569e03">HANDLE</a></div><div class="ttdeci">#define HANDLE</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00156">tools.h:156</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a3d320458a805a39a1abc145d7aa28fb6"><div class="ttname"><a href="namespace_share_api.html#a3d320458a805a39a1abc145d7aa28fb6">ShareApi::InterlockedIncrement64</a></div><div class="ttdeci">LIBTOOLS INT64 InterlockedIncrement64(INT64 *Addend)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01781">ShareApi.cpp:1781</a></div></div>
<div class="ttc" id="atools_8h_html_ae44d8d5d0e473c82cf8f2021a86cb6a4"><div class="ttname"><a href="tools_8h.html#ae44d8d5d0e473c82cf8f2021a86cb6a4">fsize_t</a></div><div class="ttdeci">INTPTR_T fsize_t</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00237">tools.h:237</a></div></div>
<div class="ttc" id="atools_8h_html_aa93f0eb578d23995850d61f7d61c55c1"><div class="ttname"><a href="tools_8h.html#aa93f0eb578d23995850d61f7d61c55c1">FALSE</a></div><div class="ttdeci">#define FALSE</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00148">tools.h:148</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ad1a8ec9389fc2b1cbf9b7a2a10a054bd"><div class="ttname"><a href="namespace_share_api.html#ad1a8ec9389fc2b1cbf9b7a2a10a054bd">ShareApi::WriteFile</a></div><div class="ttdeci">LIBTOOLS fsize_t WriteFile(FILE_HANDLE hFile, const void *buf, fsize_t size)</div><div class="ttdoc">向文件中写入数据</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00251">ShareApi.cpp:251</a></div></div>
<div class="ttc" id="anamespace_share_api_html_aa020decf062bbd8dc399dd69c67a1d5b"><div class="ttname"><a href="namespace_share_api.html#aa020decf062bbd8dc399dd69c67a1d5b">ShareApi::InterlockedExchange</a></div><div class="ttdeci">LIBTOOLS long InterlockedExchange(long *Addend, long value)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01754">ShareApi.cpp:1754</a></div></div>
<div class="ttc" id="anamespace_share_api_html_aef9c08d248e17a517235723ef2db9663"><div class="ttname"><a href="namespace_share_api.html#aef9c08d248e17a517235723ef2db9663">ShareApi::SetEvent</a></div><div class="ttdeci">LIBTOOLS BOOL SetEvent(SYNCHANDLE hEvent, BOOL bEvent)</div><div class="ttdoc">设置句柄是否有事件</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01291">ShareApi.cpp:1291</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a83771e6812aba75449e79e18b9220041"><div class="ttname"><a href="namespace_share_api.html#a83771e6812aba75449e79e18b9220041">ShareApi::InterlockedExchangeAdd</a></div><div class="ttdeci">LIBTOOLS long InterlockedExchangeAdd(long *Addend, long Value)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01727">ShareApi.cpp:1727</a></div></div>
<div class="ttc" id="anamespace_share_api_html_aad0f12d8a89ce1a3ac07b25be7d4dca8"><div class="ttname"><a href="namespace_share_api.html#aad0f12d8a89ce1a3ac07b25be7d4dca8">ShareApi::llftoa</a></div><div class="ttdeci">LIBTOOLS size_t llftoa(long double value, char *szValue, size_t size, size_t dotcount=6)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00951">ShareApi.cpp:951</a></div></div>
<div class="ttc" id="atools_8h_html_a798af1e30bc65f319c1a246cecf59e39"><div class="ttname"><a href="tools_8h.html#a798af1e30bc65f319c1a246cecf59e39">DWORD</a></div><div class="ttdeci">unsigned int DWORD</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00134">tools.h:134</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a79243d634ddf21dd7486ceb02e80e360"><div class="ttname"><a href="namespace_share_api.html#a79243d634ddf21dd7486ceb02e80e360">ShareApi::Global_FreeMem</a></div><div class="ttdeci">LIBTOOLS void Global_FreeMem(TCHAR *sInfo)</div><div class="ttdoc">释放由Global_GetLastErrr函数申请的内存</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00542">ShareApi.cpp:542</a></div></div>
<div class="ttc" id="atools_8h_html_a57be03562867144161c1bfee95ca8f7c"><div class="ttname"><a href="tools_8h.html#a57be03562867144161c1bfee95ca8f7c">UINT64</a></div><div class="ttdeci">unsigned long long UINT64</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00130">tools.h:130</a></div></div>
<div class="ttc" id="anamespace_share_api_html_aceaa3079fafcc01a4e994851d7b19b18"><div class="ttname"><a href="namespace_share_api.html#aceaa3079fafcc01a4e994851d7b19b18">ShareApi::lftoa</a></div><div class="ttdeci">LIBTOOLS size_t lftoa(double value, char *szValue, size_t size, size_t dotcount=6)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00946">ShareApi.cpp:946</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a169d4ee242a5f842c91da9be8a179e18"><div class="ttname"><a href="namespace_share_api.html#a169d4ee242a5f842c91da9be8a179e18">ShareApi::Sleep</a></div><div class="ttdeci">LIBTOOLS void Sleep(DWORD dwSleep)</div><div class="ttdoc">线程休眠函数,单位毫秒(ms)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01817">ShareApi.cpp:1817</a></div></div>
<div class="ttc" id="atools_8h_html_a36cb3b01d81ffd844bbbfb54003e06ec"><div class="ttname"><a href="tools_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a></div><div class="ttdeci">unsigned int UINT</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00139">tools.h:139</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a87b8d6d01e677432b988eef8ce62c3fb"><div class="ttname"><a href="namespace_share_api.html#a87b8d6d01e677432b988eef8ce62c3fb">ShareApi::MutexLock</a></div><div class="ttdeci">LIBTOOLS void MutexLock(SYNCHANDLE hMutex)</div><div class="ttdoc">加锁</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01229">ShareApi.cpp:1229</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a13ed8016535f6825c83eedef069ebe41"><div class="ttname"><a href="namespace_share_api.html#a13ed8016535f6825c83eedef069ebe41">ShareApi::WaitForSingleEvent</a></div><div class="ttdeci">LIBTOOLS DWORD WaitForSingleEvent(SYNCHANDLE hEvent, DWORD dwWaitOut)</div><div class="ttdoc">等待事件对象有信号</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01319">ShareApi.cpp:1319</a></div></div>
<div class="ttc" id="atools_8h_html_ac3247c51e4e3de674affb32998e133e2"><div class="ttname"><a href="tools_8h.html#ac3247c51e4e3de674affb32998e133e2">BOOL</a></div><div class="ttdeci">unsigned int BOOL</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00137">tools.h:137</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a949e52140a840041bc8d2353327f576a"><div class="ttname"><a href="namespace_share_api.html#a949e52140a840041bc8d2353327f576a">ShareApi::InterlockedExchange64</a></div><div class="ttdeci">LIBTOOLS INT64 InterlockedExchange64(INT64 *Addend, INT64 value)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01772">ShareApi.cpp:1772</a></div></div>
<div class="ttc" id="atools_8h_html_ab689500aaec0db066e3ac9483d3fe425"><div class="ttname"><a href="tools_8h.html#ab689500aaec0db066e3ac9483d3fe425">NullPtr</a></div><div class="ttdeci">#define NullPtr</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00119">tools.h:119</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a12d3c7f822d56a7161601bfde8cd2791"><div class="ttname"><a href="namespace_share_api.html#a12d3c7f822d56a7161601bfde8cd2791">ShareApi::GetFilePointerEx</a></div><div class="ttdeci">LIBTOOLS INT64 GetFilePointerEx(FILE_HANDLE hFile)</div><div class="ttdoc">返回当前文件指针位置</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00202">ShareApi.cpp:202</a></div></div>
<div class="ttc" id="anamespace_share_api_html_af5477174100c9b0c5fa9b8a1787c09af"><div class="ttname"><a href="namespace_share_api.html#af5477174100c9b0c5fa9b8a1787c09af">ShareApi::FilePathExists</a></div><div class="ttdeci">LIBTOOLS BOOL FilePathExists(const TCHAR *szFileName)</div><div class="ttdoc">检查文件是否存在</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00474">ShareApi.cpp:474</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ad16c6f67ce210b5dd91e57bbf743f0d7"><div class="ttname"><a href="namespace_share_api.html#ad16c6f67ce210b5dd91e57bbf743f0d7">ShareApi::BeginThread</a></div><div class="ttdeci">LIBTOOLS THREADPTR BeginThread(ThreadRoutine pFunc, void *arg, UINT stack_size=0, ULONG *pThreadId=NULL)</div><div class="ttdoc">创建线程</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01128">ShareApi.cpp:1128</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ae5ba1f54275e01ae695344690c8e5f40"><div class="ttname"><a href="namespace_share_api.html#ae5ba1f54275e01ae695344690c8e5f40">ShareApi::MutexUnlock</a></div><div class="ttdeci">LIBTOOLS void MutexUnlock(SYNCHANDLE hMutex)</div><div class="ttdoc">解锁</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01238">ShareApi.cpp:1238</a></div></div>
<div class="ttc" id="atools_8h_html_acbf03b87f07f587a6e72384c9141182a"><div class="ttname"><a href="tools_8h.html#acbf03b87f07f587a6e72384c9141182a">long_t</a></div><div class="ttdeci">#define long_t</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00252">tools.h:252</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a34a96620589e6276f6a506d0180af6d8"><div class="ttname"><a href="namespace_share_api.html#a34a96620589e6276f6a506d0180af6d8">ShareApi::CloseConditionVariable</a></div><div class="ttdeci">LIBTOOLS void CloseConditionVariable(SYNCHANDLE hCond)</div><div class="ttdoc">销毁信号量资源</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01684">ShareApi.cpp:1684</a></div></div>
<div class="ttc" id="astruct___f_i_l_e_f_i_n_d_i_n_f_o___html"><div class="ttname"><a href="struct___f_i_l_e_f_i_n_d_i_n_f_o__.html">_FILEFINDINFO_</a></div><div class="ttdoc">文件查找信息</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00311">tools.h:311</a></div></div>
<div class="ttc" id="anamespace_share_api_html_afc7a41f951383d91baa664bae54c03a3"><div class="ttname"><a href="namespace_share_api.html#afc7a41f951383d91baa664bae54c03a3">ShareApi::StartProcess</a></div><div class="ttdeci">LIBTOOLS BOOL StartProcess(const TCHAR *exename, TCHAR **argv=NullPtr, TCHAR **evp=NullPtr)</div><div class="ttdoc">开始一个新进程</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l02073">ShareApi.cpp:2073</a></div></div>
<div class="ttc" id="aunion___l_a_r_g_e___i_n_t_e_g_e_r_html"><div class="ttname"><a href="union___l_a_r_g_e___i_n_t_e_g_e_r.html">_LARGE_INTEGER</a></div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00202">tools.h:202</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a8d8eb33de0a336b6c099d4196e75fbc6"><div class="ttname"><a href="namespace_share_api.html#a8d8eb33de0a336b6c099d4196e75fbc6">ShareApi::OpenFile</a></div><div class="ttdeci">LIBTOOLS FILE_HANDLE OpenFile(const TCHAR *szFileName, unsigned int iMode)</div><div class="ttdoc">打开文件</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00084">ShareApi.cpp:84</a></div></div>
<div class="ttc" id="atools_8h_html_a01e895c2df346ffe662bbe69686d8d51"><div class="ttname"><a href="tools_8h.html#a01e895c2df346ffe662bbe69686d8d51">SYNCHANDLE</a></div><div class="ttdeci">#define SYNCHANDLE</div><div class="ttdoc">异步函数句柄</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00329">tools.h:329</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a753dde889b11d29612c759d13ee359b3"><div class="ttname"><a href="namespace_share_api.html#a753dde889b11d29612c759d13ee359b3">ShareApi::FindClose</a></div><div class="ttdeci">LIBTOOLS void FindClose(FILE_HANDLE hFile)</div><div class="ttdoc">关闭目录遍历</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00431">ShareApi.cpp:431</a></div></div>
<div class="ttc" id="atools_8h_html"><div class="ttname"><a href="tools_8h.html">tools.h</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a4e74675c3ae4e3233eeeb2088057aca8"><div class="ttname"><a href="namespace_share_api.html#a4e74675c3ae4e3233eeeb2088057aca8">ShareApi::GetCurrentDirectory</a></div><div class="ttdeci">LIBTOOLS BOOL GetCurrentDirectory(DWORD size, TCHAR *szPath)</div><div class="ttdoc">获取当前进程目录</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00485">ShareApi.cpp:485</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a35355024be699fab00fff43941b41914"><div class="ttname"><a href="namespace_share_api.html#a35355024be699fab00fff43941b41914">ShareApi::WS_CPY_AS</a></div><div class="ttdeci">LIBTOOLS BOOL WS_CPY_AS(size_t size, char *des, const WCHAR *src)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00739">ShareApi.cpp:739</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a52ea835c01d56aaf225ab37baacf7dd6"><div class="ttname"><a href="namespace_share_api.html#a52ea835c01d56aaf225ab37baacf7dd6">ShareApi::QueryPerformanceCounter</a></div><div class="ttdeci">LIBTOOLS BOOL QueryPerformanceCounter(LARGE_INTEGER *lpPerformanceCount)</div><div class="ttdoc">获取CPU的执行时间</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01860">ShareApi.cpp:1860</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a5853aba96a6eaed3b9dd1a66805f6070"><div class="ttname"><a href="namespace_share_api.html#a5853aba96a6eaed3b9dd1a66805f6070">ShareApi::GetFileSizeEx</a></div><div class="ttdeci">LIBTOOLS INT64 GetFileSizeEx(FILE_HANDLE hFile)</div><div class="ttdoc">获取文件大小</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00146">ShareApi.cpp:146</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ae93328641ac50ed7196d704ff24b3dc2"><div class="ttname"><a href="namespace_share_api.html#ae93328641ac50ed7196d704ff24b3dc2">ShareApi::PathAppend</a></div><div class="ttdeci">LIBTOOLS void PathAppend(TCHAR *srcdir, const TCHAR *subdir)</div><div class="ttdoc">添加目录的子目录名称</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00446">ShareApi.cpp:446</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a35bc338ea514bb9d9f3de57730db5d60"><div class="ttname"><a href="namespace_share_api.html#a35bc338ea514bb9d9f3de57730db5d60">ShareApi::SetFilePointer</a></div><div class="ttdeci">LIBTOOLS BOOL SetFilePointer(FILE_HANDLE hFile, int dwOffset, int iWhence)</div><div class="ttdoc">参考SetFilePointerEx的函数说明</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00188">ShareApi.cpp:188</a></div></div>
<div class="ttc" id="anamespace_share_api_html_ac170c14f06c9eaa6710df7726e475908"><div class="ttname"><a href="namespace_share_api.html#ac170c14f06c9eaa6710df7726e475908">ShareApi::ftoa</a></div><div class="ttdeci">LIBTOOLS size_t ftoa(float value, char *szValue, size_t size, size_t dotcount=6)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00868">ShareApi.cpp:868</a></div></div>
<div class="ttc" id="atools_8h_html_a6a2b55a6391419ed0b7b9da06e094b4b"><div class="ttname"><a href="tools_8h.html#a6a2b55a6391419ed0b7b9da06e094b4b">INT64</a></div><div class="ttdeci">long long INT64</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00132">tools.h:132</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a0a37d9b5c4fe9f8f5611369885097b67"><div class="ttname"><a href="namespace_share_api.html#a0a37d9b5c4fe9f8f5611369885097b67">ShareApi::GetTickCount</a></div><div class="ttdeci">LIBTOOLS DWORD GetTickCount()</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l01839">ShareApi.cpp:1839</a></div></div>
<div class="ttc" id="atools_8h_html_ab00d7bdead70fa34f855541305b0c89e"><div class="ttname"><a href="tools_8h.html#ab00d7bdead70fa34f855541305b0c89e">FILE_HANDLE</a></div><div class="ttdeci">#define FILE_HANDLE</div><div class="ttdoc">文件句柄</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00306">tools.h:306</a></div></div>
<div class="ttc" id="anamespace_share_api_html_a2a12b9ef4412b9abb4848f65ffa2850e"><div class="ttname"><a href="namespace_share_api.html#a2a12b9ef4412b9abb4848f65ffa2850e">ShareApi::CreateDirectory</a></div><div class="ttdeci">LIBTOOLS BOOL CreateDirectory(const TCHAR *szPathName)</div><div class="ttdoc">创建目录</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00497">ShareApi.cpp:497</a></div></div>
<div class="ttc" id="anamespace_share_api_html_aaf65e2886782dff810bc58f68d3ceab4"><div class="ttname"><a href="namespace_share_api.html#aaf65e2886782dff810bc58f68d3ceab4">ShareApi::UTF8_CPY_WS</a></div><div class="ttdeci">LIBTOOLS BOOL UTF8_CPY_WS(size_t size, WCHAR *des, const char *src)</div><div class="ttdef"><b>Definition:</b> <a href="_share_api_8cpp_source.html#l00686">ShareApi.cpp:686</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
